package com.pds.web.testOrganization.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pds.web.testOrganization.domain.*;
import com.pds.web.testOrganizationInfo.domain.PdsTestOrganizationInfo;
import com.pds.web.testOrganizationInfo.domain.PdsTestOrganizationPerson;
import com.pds.web.testOrganizationInfo.domain.PdsTestOrganizationPlace;

import java.util.List;

public interface PdsTestOrganizationVOMapper extends BaseMapper<PdsTestOrganizationVO> {
    List<PdsTestOrganizationHonor> listHonor(Long organizationId);

    List<PdsTestOrganizationInspect> listInspect(Long organizationId);

    List<PdsTestOrganizationQualification> listQualification(Long organizationId);

    List<PdsTestOrganizationPerson> listPerson(Long organizationId);

    List<PdsTestOrganizationPlace> listPlace(Long organizationId);

    int updateHonorStatus(OrganizationStatusDTO statusDTO);

    int updateInfoStatus(OrganizationStatusDTO statusDTO);

    int updateInspectStatus(OrganizationStatusDTO statusDTO);

    int updateQualificationStatus(OrganizationStatusDTO statusDTO);

    int updatePersonStatus(OrganizationStatusDTO statusDTO);

    int updatePlaceStatus(OrganizationStatusDTO statusDTO);

//    List<PdsTestOrganizationVO> detailList();

    int getTotal();

    List<PdsTestOrganizationInfo> selectInfoList();
}
